package util ;

/**
 * the requested object was not found.
 * 
 * @author Koby
 */
@SuppressWarnings("serial")
public class NotFoundException extends Exception
{
	private final String description;

	/**
	 * @param searchKey what was not found?
	 */
	public NotFoundException(final String desc)
	{
		super() ;
		this.description = desc;
	}

	/**
	 * @return the key that was search and not found.
	 */
	public Object getDescription()
	{
		return this.description ;
	}
}
